using UnityEngine;

public class RCCDashboardInputs : MonoBehaviour
{
	public enum UIType
	{
		UI,
		NGUI
	}

	public UIType _UIType;

	public GameObject RPMNeedle;

	public GameObject KMHNeedle;

	internal RectTransform RPMNeedleUI;

	internal RectTransform KMHNeedleUI;

	internal GameObject RPMNeedleNGUI;

	internal GameObject KMHNeedleNGUI;

	public float RPM;

	public float KMH;

	internal float Gear;

	internal bool NGear;

	internal bool ABS;

	internal bool ESP;

	internal bool Park;

	internal bool Headlights;

	private void Start()
	{
	}

	public void GetNeedles()
	{
		if (_UIType == UIType.UI)
		{
			RPMNeedleUI = RPMNeedle.GetComponent<RectTransform>();
			KMHNeedleUI = KMHNeedle.GetComponent<RectTransform>();
		}
		else
		{
			RPMNeedleNGUI = RPMNeedle;
			KMHNeedleNGUI = KMHNeedle;
		}
	}
}
